using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class lym_tz {

		[JsonProperty, Column(StringLength = 50)]
		public string bt { get; set; }

		/// <summary>
		/// 准驾车型
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string chexing { get; set; }

		[JsonProperty, Column(IsIdentity = true)]
		public int id { get; set; }

		[JsonProperty]
		public Guid? JxCode { get; set; }

		/// <summary>
		/// 考试地点
		/// </summary>
		[JsonProperty, Column(StringLength = 100)]
		public string ksdd { get; set; }

		/// <summary>
		/// 考试科目
		/// </summary>
		[JsonProperty]
		public int? kskm { get; set; }

		/// <summary>
		/// 考试人数
		/// </summary>
		[JsonProperty]
		public int? ksrs { get; set; }

		[JsonProperty, Column(DbType = "char(1)")]
		public string lmlx { get; set; }

		[JsonProperty, Column(StringLength = 550)]
		public string nr { get; set; }

		[JsonProperty]
		public DateTime? sj { get; set; }

		/// <summary>
		/// 剩余报名人数
		/// </summary>
		[JsonProperty]
		public int? syrs { get; set; }

		[JsonProperty, Column(CanInsert = false)]
		public int tiqian { get; set; } = 0;

	}

}
